﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class DonViDTO
    {
        int _ID;

        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        string _ten;

        public string Ten
        {
            get { return _ten; }
            set { _ten = value; }
        }

        HeThongDTO  _heThong;
        public HeThongDTO HeThong
        {
            get { return _heThong; }
            set { _heThong = value; }
        }

        int _dem;
        public int Dem
        {
            get { return _dem; }
            set { _dem = value; }
        }

        public DonViDTO()
        {
            _ID = -1;
            _ten = "";
            _heThong = null;
            _dem = 0;
        }
        public DonViDTO(int ID, string ten, HeThongDTO heThong, int dem)
        {
            _ID = ID;
            _ten = ten;
            _heThong = heThong;
            _dem = dem;
        }
    }

}